BMI\Plugin\Backup_Migration_Plugin D

Total Complexity 272
Dependencies 10
Dependents 6
Total lines 1,184
Lines of code 867
Logical lines of code 698
Comment lines 64
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
handle_downloading()
D
15
81 214
initialize()
C
36 25 62
execution_shutdown()
B
40 18 53
handle_cron_backup()
B
37 17 67
ajax()
A
43 15 44
hotfix_patches()
A
43 14 46
sanitize()
A
52 10 23
handle_cron_check()
A
52 8 23
fixLitespeed()
S
49 7 30
handleErrorDuringBackup()
S
53 7 21
handle_after_cron()
S
51 6 24
revertLitespeed()
S
52 6 23
handle_cron_error()
S
54 6 19
send_notification_mail()
S
51 5 27
handleErrorDuringRestore()
S
57 5 15
enqueue_scripts()
S
60 3 14
backup_inproper_time()
S
57 3 14
admin_notices()
S
61 3 12
res()
S
66 3 8
handle_crons()
S
65 3 8
readFileSensitive()
S
57 2 15
escapeSensitive()
S
57 2 15
humanSize()
S
68 3 5
get_next_cron()
S
60 2 13
randomString()
S
63 2 11
merge_arrays()
S
72 2 5
fixSlashes()
S
63 2 10
enqueue_styles()
S
71 2 5
settings_page()
S
69 2 6
admin_init_hook()
S
67 2 8
deactivation()
S
76 1 4
settings_action()
S
71 1 5
submenu()
S
67 1 7
email_error()
S
76 1 4
set_last_cron()
S
74 1 4
get_asset()
S
79 1 3